DX11 SAVE TEXTURE
Saves a texture image to disk as a DDS file with the given file name.
This is different from the DX11 SAVE IMAGE function in that a texture saved with this function will retain data such as mip maps and its
DXGI_FORMAT.
It is suggested that you save imported textures using this function since the DDS format corresponds more directly to the internal format used
to represent textures; because of this it will load faster than for example a PNG or GIF image that must first be interpreted.
It is naturally also faster to load mip maps directly from a saved texture than to have to generate those when importing an image.
DX11 SAVE TEXTURE img, filename
img
Dword
The image (texture) to be saved.
filename
String
The name of the saved texture file; take note that the DDS format will be used regardless of what extension you give the file!
This function does not return a value.
IMAGE Functions Menu
DX11 Function Categories